package com.ychs.lawyer.mapper;

import com.ychs.lawyer.bean.Contract;
import com.ychs.lawyer.bean.ContractCancellations;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: clh
 * @Date: 2024/07/31/10:31
 * @Description:
 */
@Mapper
public interface ContractCancellationsMapper {
    int addContractCancellation(ContractCancellations contractCancellations);
    List<ContractCancellations> getCancelContract(ContractCancellations contractCancellations);

    int reStart(String contractName);

    int delCancelContract(String contractName);
}
